﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.ComponentModel.DataAnnotations.Schema;

namespace NetMVC.Web.Domain.Dramas
{
    public class DramaCategory
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int id { get; set; }
        public string name { get; set; }
        public ICollection<Drama> Dramas { get; set; }
        public ICollection<DramaCategory> childs { get; set; }
    }
}